package com.fahai.web.service;/**
 * Created by Lilinjun on 17/6/27.
 */

import com.fahai.common.PageVo;
import com.fahai.web.entity.Anyuan;
import  java.util.List;

/**
 * 案源管理服务接口
 *
 * @author
 * @create 2017-06-27 下午3:34
 **/

public interface SourceService {

    /**
     * 查询
     * @param anyuan
     * @return
     */
    public PageVo  selectSourceList(Anyuan anyuan, PageVo pageVo);
    public  List<Anyuan>  selectSourceListxls(Anyuan anyuan);

    /**
     * 统计总行数
     * @param anyuan
     * @return
     */
    public int  getCount(Anyuan anyuan);

    /**
     * 冻结解冻
     * @param idlist
     * @param type
     */
    public void freeze(List<Integer> idlist, String type);


    /**
     * 更新案源
     * @param anyuan
     */
    public void updateAnyuan(Anyuan anyuan);


}
